export const agency = [{
	label: '区域',
	prop: 'area',
	align: 'center'
}, {
	label: '企业名称',
	prop: 'deptName',
	align: 'center',
	// overHidden: true,
	// width: 140
}, {
	label: '站点名称',
	prop: 'siteName',
	align: 'center',
	// overHidden: true,
	// width: 140
}, {
  label: '化验机构',
  prop: 'testDeptInfoId',
  align: 'center',
  dataType: "string",
  dicUrl:"/api/squirrel-ficm/deptinfo/getTestDeptList",
  props:{
    label:"deptName",
    value:"id"
  }
},{
	label: '样品编号',
	prop: 'sampleNum',
	align: 'center',
}, {
	label: '采样因子',
	prop: 'factorName',
	align: 'center'
}, {
	label: '采样阈值',
	prop: 'thresholdVal',
	align: 'center',
	// overHidden: true,
	// width: 140
}, {
  label:"采样时间",
  prop:"samplingTime",
  align:"center",
  width:160,
},{
	label: '采样方式',
	prop: 'samplingMethodsName',
	align: 'center'
}, {
	label: '采样人',
	prop: 'samplingUserName',
	align: 'center'
}, {
	label: '状态',
	prop: 'nextStatus',
	align: 'center',
	slot: true
}]
export const agencyFormOption1 = [{
		label: "企业名称",
		prop: "deptName",
		// tip: '滑入气泡框效果',
		span: 12,
		disabled: true
	}, {
		label: "站点名称",
		prop: "siteName",
		span: 12,
		disabled: true
	}, {
		label: "化验时间",
		prop: "testTime",
		type: "datetime",
		span: 12,
		format: 'yyyy-MM-dd HH:mm:ss',
		valueFormat: 'yyyy-MM-dd HH:mm:ss',
		rules: [{
			required: true,
			message: "请输入化验时间",
			trigger: "blur"
		}]
	}, {
		label: "化验人",
		prop: "testUserId",
		type:'select',
		dataType: "string",
		dicUrl: "/api/squirrel-psoa32/testreport/getTestUserList",
		props: {
			label: "name",
			value: "id"
		},
    dicQuery:{
      testDeptInfoId:''
    },
		span: 12,
		rules: [{
			required: true,
			message: "请输入化验人",
			trigger: "blur"
		}]
	}
]

export const agencyFormOption2 = [
	{
		label: "审查意见",
		prop: "sampleAuditRecordList",
		span: 24,
		formslot: true,
		display: true
	}
]



export const handelHeader1 = [{
		label: '区域',
		prop: 'area',
		align: 'center'
	},
	{
		label: '站点名称',
		prop: 'siteName',
		align: 'center',
		width: 160
	},
  {
    label: '化验机构',
    prop: 'testDeptInfoId',
    align: 'center',
    dataType: "string",
    dicUrl:"/api/squirrel-ficm/deptinfo/getTestDeptList",
    props:{
      label:"deptName",
      value:"id"
    }
  },
	{
		label: '样品编号',
		prop: 'sampleNum',
		align: 'center'
	},
	{
		label: '采样方式',
		prop: 'samplingMethodsName',
		align: 'center'
	},
	{
		label: '采样时间',
		prop: 'samplingTime',
		align: 'center',
		width: 160
	},
	{
		label: '化验时间',
		prop: 'testTime',
		align: 'center',
		width: 160
	}
]
export const handelHeader2 = [{
		label: '化验人',
		prop: 'testUserName',
		align: 'center',
		width: 120
	},
	{
		label: '审查人',
		prop: 'auditUserName',
		align: 'center',
		width: 120
	},
	{
		label: '状态',
		prop: 'nextStatus',
		align: 'center',
		slot: true,
		width: 120
	}
]

export const handelFormOption1 = [{
	label: "企业名称",
	prop: "deptName",
	// tip: '滑入气泡框效果',
	span: 12,
	disabled: true
}, {
	label: "站点名称",
	prop: "siteName",
	span: 12,
	disabled: true
}, {
	label: "采样时间",
	prop: "samplingTime",
	span: 12,
	disabled: true
},{
	label: "化验时间",
	prop: "testTime",
	span: 12,
	disabled: true
}, {
	label: "化验人",
	prop: "testUserName",
	disabled: true,
	span: 12
}, {
	label: "审查人",
	prop: "auditUserName",
	span: 12,
	disabled: true
}]

export const handelFormOption2 = [{
	label: "处理措施",
	prop: "treatmentMeasure",
	span: 24,
	formslot: true,
}, {
	label: "处理结果",
	prop: "treatmentResult",
	span: 24,
	type: "textarea",
	placeholder:' '
}]
